<?php 
class ReportesController extends AppController{
    var $name = 'Reportes';

    function getListaArticulos(){
    	//Configure::write('debug', 1);
        $this->layout = 'pdf'; //this will use the pdf.ctp layout
        $this->loadModel('Articulo');
        $listaArticulos = $this->Articulo->getListaParaVenta($this->variables);
        $this->set('listaArticulos', $listaArticulos);
    }
}